package com.nextgenapp.fbgraph.basic
{
	import mx.rpc.events.FaultEvent;
	
	/**
	 * callback function will be passed with this parameter.    
	 */
	public class FbCallbackResult
	{
		
		/** result */
		public var result:Object = null;
		
		/** url of facebook graph api call */
		public var url:String = null;
		
		public var success:Boolean = false;
		
		/** 
		 * if success if false, this value will be populated.  
		 * you can get fault faultCode, faultString, faultDetail etc 
		 * by calling faultEvent.fault.faultCode, faultEvent.fault.faultString, faultEvent.fault.faultDetail 
		 */
		public var faultEvent:FaultEvent = null;
		
	}
}